<!--------------------------------------------------------知识选择器--知识结构-子节点------------------------------------------->
<style type="text/css">
.knowledgebase_selection_tool_jiegouright .type_chb{float:left;}
.knowledgebase_selection_tool_jiegouright .type_text{margin-left:15px;float:left;}
</style>
<div class=" angular-ui-tree-handle" ng-class="{'active':collapsed,'activexz':getTaskCheck(knode)}" style=" overflow:visible" ng-click="radioCheck(knode)">
    <!--open close-->
    <i class=" tree_branch_head" ng-if="knode.haschildren >  0 && !knode.btnLoadingShow" ng-click="openNode(this,knode);$event.stopPropagation();" ></i> 
    <!--node loading-->
    <i class=" tree_branch_headloading" ng-if="knode.btnLoadingShow"></i>


    <div style="overflow: hidden;text-overflow: ellipsis;width:450px" class="angular-ui-tree_nr " ng-bind="knode.knowledge_Name"></div>
    <div class="knowledgebase_selection_tool_jiegouright">
        <!--课程-->    
        <div class="liebiaocheck-box type_chb" style="top:0px;" ng-class="{selected:knode.know_select_course}" ng-click="knode.know_select_course = !knode.know_select_course;$event.stopPropagation();">
                <!--添加selected为选中样式-->
                <span class="iconfont">&#xe67a;</span>
        </div>
        <div class="type_text">课程</div>               
        <!-- 试卷 -->
        <div class="liebiaocheck-box type_chb" style="top:0px;" ng-class="{selected:knode.know_select_exam}" ng-click="knode.know_select_exam = !knode.know_select_exam;$event.stopPropagation();">
                <!--添加selected为选中样式-->
                <span class="iconfont">&#xe67a;</span>
        </div>
        <div class="type_text">试卷</div>   
        <!-- 题库 -->
        <div class="liebiaocheck-box type_chb" style="top:0px;" ng-class="{selected:knode.know_select_que}" ng-click="knode.know_select_que = !knode.know_select_que;$event.stopPropagation();">
                <!--添加selected为选中样式-->
                <span class="iconfont">&#xe67a;</span>
        </div>
        <div class="type_text">题库</div>   
        <!-- 题库的合格条件 -->
        
        <div class="type_text" style="width:130px;" ng-show="knode.know_select_que" tooltips tooltip-template="题库合格条件" tooltip-side="left" ng-click="stageCourseRequiredShow=true;$event.stopPropagation();" ng-mouseleave="stageCourseRequiredShow = false">     
            {{ knode.know_select_que_type == 1 ? '固定时长' : (knode.know_select_que_type
                == 2 ? '合格率' : '全部答完') }}        
                <span class="caret"></span>              
                 <!-- 合格条件 -->        
                <ul ng-show="stageCourseRequiredShow"
                style="border-radius: 3px;position: absolute;right:65px;z-index: 999; width: 65px;background: #fff;border: 1px solid #ddd;box-shadow: 0 7px 21px rgba(0,0,0,0.1);"> 
                    <li class="traintask_top_pxjd_all" style="margin:5px;" ng-click="knode.know_select_que_type = 0;$event.stopPropagation();">                                            
                        全部答完</li>
                    <li class="traintask_top_pxjd_wks" style="margin:5px;" ng-click="knode.know_select_que_type = 1;$event.stopPropagation();">                                            
                        固定时长</li>                                                                                            
                    <li class="traintask_top_pxjd_ywc" style="margin:5px;" ng-click="knode.know_select_que_type = 2;$event.stopPropagation();">                                            
                        合格率</li>
                </ul>
                <!-- 限制内容 -->
                <input type="text" style="width:30px" ng-init="knode.know_select_que_num?'':(knode.know_select_que_num=10)" ng-model="knode.know_select_que_num" ng-click="$event.stopPropagation();" ng-if="knode.know_select_que_type == 1 ||knode.know_select_que_type == 2"/>{{knode.know_select_que_type == 1?'分钟':(knode.know_select_que_type == 2?'%':'')}}                                       
        </div>
        
        
        
        
        
               
        <span ng-if='false'>
            <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-kecheng1"></use></svg>
            {{knode.course_Sum}}</span> 
            <span ng-if='false'>
                <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-monikaoshi"></use></svg>
                {{knode.testPaper_Sum}}</span> 
                <span ng-if='false'>
                    <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-ti"></use></svg>
                    {{knode.title_Sum}}</span>
    </div>
</div>
<ol class="angular-ui-tree-nodes"  ui-tree-nodes  ng-show="collapsed && knode.haschildren >0"  ng-model="knode.children">
    <li class=" angular-ui-tree-node" ng-repeat="knode in knode.children" ui-tree-node
        ng-include="'/system/directive/train/knowledgeselector/knowledge_selector_task_node.html'">      
    </li>
</ol>
